package com.whfc.ms.api.fvs.service.impl;

import com.whfc.common.result.PageData;
import com.whfc.fvs.dto.FvsSnapshotDTO;
import com.whfc.fvs.service.FvsSnapshotService;
import com.whfc.ms.api.fvs.service.MsFvsSnapshotService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * @author qzexing
 * @version 1.0
 * @date 2021-02-24 16:51
 */
@Service
public class MsFvsSnapshotServiceImpl implements MsFvsSnapshotService {

    @DubboReference(interfaceClass = FvsSnapshotService.class, version = "1.0.0")
    private FvsSnapshotService fvsSnapshotService;

    @Override
    public PageData<FvsSnapshotDTO> list(Integer deptId, Integer pageNum, Integer pageSize, Date startDate, Date endDate, String keyword) {
        return fvsSnapshotService.list(deptId, pageNum, pageSize, startDate, endDate, keyword);
    }
}
